package com.dj.Demo.线程;

public class Demo {
    public static void main(String[] args) {
        Thread thread = new Thread(new DemoThread(), "线程1");
        thread.start();
        Thread thread2 = new Thread(new DemoThread(), "线程2");
        thread2.start();
    }
}
